package com.itheima.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.mapper.EditUserMapper;
import com.itheima.vo.LoginInfo;
import com.itheima.service.EditUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author zbw
 * @describe
 * @email 1030184932@qq.com
 * @create 2020-09-25-18:10
 */
@Service(interfaceClass = EditUserService.class)
@Transactional
public class EditUserServiceImpl implements EditUserService {

    @Autowired
    private EditUserMapper editUserMapper;
    @Override
    public void editUser(LoginInfo loginInfo) {
        editUserMapper.editUser(loginInfo);
    }
}
